home *** CD-ROM | disk | FTP | other *** search
- Path: news.interpath.net!softbase
- From: softbase@mercury.interpath.com (Scott McMahan - Softbase Systems)
- Newsgroups: comp.lang.c
- Subject: Re: How do I make a .QLB from a .LIB?
- Date: 18 Apr 1996 16:46:24 GMT
- Organization: Interpath -- Providing Internet access to North Carolina
- Message-ID: <4l5rl0$kbr@news.interpath.net>
- References: <4l493b$6j3@news.nstn.ca>
- NNTP-Posting-Host: mercury.interpath.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dave Nugent (dave@highlander.cbnet.ns.ca) wrote:
-
- : This gives me an error of:
- : unresolved external _printf
-
- : Why is this? Why would the linker think the printf is external when it
- : should have been included in the original test.obj file created when me.c
- : was compiled.
-
- The *linker* links object code, libraries, and system libraries to
- produce a load module (of some sort). All the compiler did was
- compile your source to object format. The compiler did not
- touch the standard libraries, that's the linker's job.
- The compiler just adds in stubs that the linker has to resolve
- somehow.
-
- For more information, see the book Deep C Secrets by Peter
- Van Der Linden.
-
- Scott
-
-